package common.entities.persistent;

import common.entities.abst.AbstPersonEntity;

/**
 * @author Yoyo
 *
 */
public class Director extends AbstPersonEntity {

	/**
	 * This constructor will be used for entities that are fetched from the DB
	 * 
	 * @param id
	 * @param firstName
	 * @param lastName
	 */
	public Director(int id, String firstName, String lastName) {
		super(id, firstName, lastName);
	}

	/**
	 * This constructor will be used for new entities (i.e still weren't saved into DB)
	 * 
	 * @param firstName
	 * @param lastName
	 */
	public Director(String firstName, String lastName) {
		super(firstName, lastName);
	}
	
	public Director() {
		super();
	}
	
	@Override
	public String toString() {
		return "Director: " + this.getFirstName() + ", " + this.getLastNameWithPersonNumber();
	}
	
}
